package com.artpri.dao.impl;

import java.util.List;

import com.artpri.dao.RecommendWorkDao;
import com.artpri.model.RecommendWork;

/**
 * 
 * @author ZhangSi
 *
 */
public class RecommendWorkDaoImpl extends HibernateDaoImpl<RecommendWork> implements RecommendWorkDao {

	@SuppressWarnings("unchecked")
	@Override
	public List<Integer> getGoodsNumByPlate(String plateNum) {
		return getSqlQuery("select r.goods_num from recommend_work r where r.plate_num=?0", plateNum).list();
	}

}
